The stepper motors coil A,B,C,D is connected to the port 1 i.e. to P1.0, P1.2, P1.2 and P1.3.
The Microcontroller does not provide sufficient current to drive motor and to safeguard 8081 from loading effect and burn out condition, a motor driver IC ULN 2003 between 8051 and stepper motor. ULN 2003 is a stepper motor driver.
The stepper motor is user for controlling:
1. Position control
2. Direction control &
3. Speed control
4-Step sequence:
In this type of functioning, the following 4 binary sequence/code are used for rotation: (Considering step angle= 1.8 degrees)
8-Step Sequence:
In this type of functioning, the following 8 binary sequence/code are used for rotation: (Considering step angle= 0.9degrees)